// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import '../static/flex.css'
import '../static/tinymce4.7.5/tinymce.min'
import { Row, Col, Button, Form, FormItem, Input, dialog, upload, Container, Aside, Main, Menu, MenuItem, Submenu, MenuItemGroup, Dropdown, DropdownMenu, DropdownItem, Message, Progress, Loading } from 'element-ui'
Vue.use(Row)
Vue.use(Col)
Vue.use(Button)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(dialog)
Vue.use(upload)
Vue.use(Container)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(Submenu)
Vue.use(MenuItemGroup)
Vue.use(Dropdown)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Progress)
Vue.component(Message)
Vue.component(Loading)
Vue.prototype.$message = Message
Vue.prototype.$loading = Loading.service
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
